package com.cx.mapper;

import com.cx.pojo.Chassis;
import com.cx.pojo.ChassisExample;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface ChassisMapper {
    int countByExample(ChassisExample example);

    int deleteByExample(ChassisExample example);

    int deleteByPrimaryKey(Integer chassisId);

    int insert(Chassis record);

    int insertSelective(Chassis record);

    List<Chassis> selectByExample(ChassisExample example);

    Chassis selectByPrimaryKey(Integer chassisId);

    int updateByExampleSelective(@Param("record") Chassis record, @Param("example") ChassisExample example);

    int updateByExample(@Param("record") Chassis record, @Param("example") ChassisExample example);

    int updateByPrimaryKeySelective(Chassis record);

    int updateByPrimaryKey(Chassis record);

    //查询所有
    List<Chassis> selectAllChassis(Chassis chassis);
}